Paged Binding Array: Environment Representation for And-Or Parallel Prolog

نویسنده

  • Gopal Gupta
چکیده

We show that to exploit both Independent And-and Or-parallelism from Prolog programs independent goals should be recomputed (vs their solutions reused). We present an abstract model, called the Composition-Tree, for representing and-or parallelism in Prolog Programs. The Composition-tree closely mirrors sequential Prolog execution (by recomputing independent goal rather than re-using them). We also present an extension of the Binding Array scheme for And-Or parallel execution of full Prolog based on the Composition-tree. A complete abstract machine for and-or parallel Prolog is presented along with scheduling and memory management issues. We demonstrate why our system is better than the earlier proposals for exploiting and-or parallelism.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Systematic Approach to Exploiting Implicit Parallelism in Full Prolog

Prolog is a practical declarative programming language based on Horn Logic. In this paper we argue that implicit parallelism can be extracted from full Prolog. By full Prolog we mean pure Prolog with extra-logical features such as side-eeects, database predicates and cuts. Prolog programs have three main forms of implicit parallelism present in them: or-parallelism, independent and-parallelism ...

متن کامل

Shared Paged Binding Array: A Universal Datastructure for Parallel Logic Programming

Two major problems that arise in parallel logic programming systems are: (i) redundant computation during and-parallel execution of dependent goals, and, (ii) eecient representation of multiple environments at runtime. Both these problems are caused by non-determinism present in logic programs|responsible for much of the power of logic programming. This paper is mainly concerned with solving th...

متن کامل

Novel Models for Or-Parallel Logic Programs: A Performance Analysis

One of the advantages of logic programming is the fact that it offers many sources of implicit parallelism, such as and-parallelism and or-parallelism. Arguably, or-parallel systems, such as Aurora and Muse, have been the most successful parallel logic programming systems so far. Or-parallel systems rely on techniques such as Environment Copying to address the problem that branches being explor...

متن کامل

Optimal Implementation of And-Or Parallel Prology

Most models that have been proposed, or implemented, so far for exploiting both or-parallelism and independent and-parallelism have only considered pure logic programs (pure Prolog). We present an abstract model, called the Composition-Tree, for representing and-or parallelism in full Prolog. The Composition-Tree recomputes independent goals to ensure that Prolog semantics is preserved. We comb...

متن کامل

Recomputation based Implementations of And-Or Parallel Prolog

We argüe that in order to exploit both Independent Andand Or-parallelism in Prolog programs there is advantage in recomputing some of the independent goals, as opposed to all their solutions being reused. We present an abstract model, called the CompositionTree, for representing and-or parallelism in Prolog Programs. The Composition-tree closely mirrors sequential Prolog execution by recomputin...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1991